<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>日常事务/完成事项</title>
  <%@ include file="../link_script.jsp" %>
</head>
<body>
<html:form styleId="list" action="/item.do">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table id="theObjTable" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver="javascript:changeto();" onmouseout="javascript:changeback();">
          <tr>
            <td width="4%" class="tdClass">选择</td>
            <td width="4%" class="tdClass">序号</td>
            <td width="15%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>事项名称</td>
            <td width="12%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>截止时间</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>处理日期</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>关系单位/个人</td>
            <td width="4%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>状态</td>
            <td width="20%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>描述</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>常用操作</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <logic:notEmpty name="itemAccomplishList">
          <% int i = 0; %>
            <logic:iterate id="var" name="itemAccomplishList">
            <% i++; %>
              <tr>
                <td class="STYLE12"><input type="checkbox" name="ids" value="${var.itemID}" /></td>
                <td class="STYLE12"><%=i %></td>
                <td class="STYLE11">&nbsp;
                <script type="text/javascript">
                  $("ABBR").unbind("click") // 删除所有p元素上的单击事件
                  $("ABBR").bind("click", function() {
	                alert($(this).text());
                  }); // 为每个p元素添加单击事件
                </script><ABBR><bean:write name="var" property="itemName" /></ABBR></td>
                <td class="STYLE12"><bean:write name="var" property="itemTime" /></td>
                <td class="STYLE12"><bean:write name="var" property="itemDate" /></td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="itemCompany" /></td>
                <td class="STYLE12">已办</td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="itemDesc" /></td>
                <td class="STYLE12"><a href="item.do?method=detailItem&itemID=${var.itemID}">明细</a>&nbsp;完成</td>
                <td class="STYLE12">&nbsp;&nbsp;</td>
              </tr>
            </logic:iterate>
          </logic:notEmpty>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../page.jsp"%>
</table>
</html:form>
</body>
</html>

